/**   
 * @Title: AsyPngLoader.java 
 * @Package com.esun.util.pngloader
 * @Description: 图片加载
 * @author 程相亭 <br/>
 * @date 2012-03-22 下午05:07:33  
 * Copyright (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.util.pngloader;

import android.graphics.drawable.Drawable;
import android.widget.ImageView;

/**
 * com.esun.util.pngloader.AsyPngLoader
 * 
 * @Description:图片加载类
 * @author 程相亭 <br/>
 * @date 2012-03-22 下午05:07:33
 */
public class AsyPngLoader implements PngLoader.AsyPngLoader {

	private ImageView iv;

	public AsyPngLoader(ImageView iv) {
		this.iv = iv;
	}

	@Override
	public void pngLoadded(Drawable drawable) {
		System.out.println("drawable==========" + drawable);
		// iv.setBackgroundDrawable(drawable) ;
		iv.setImageDrawable(drawable);
	}

}
